<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="custom-style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
	<div style="overflow: hidden;">
		<div style="height: 57px;min-width: 1039px;background-size: auto 100%;background:url('');">
			<img src="titleleft.png" style="float: left;"/>
			<img src="titleright.png" alt="" style="float: right;" />
		</div>
	</div>
<!-- 制作者 Doxygen 1.8.15 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>法律声明</span></a></li>
      <li><a href="_xE9_xA6_x96_xE9_xA1_xB5.html"><span>首页</span></a></li>
      <li><a href="_xE6_x9B_xB4_xE6_x96_xB0_xE8_xAE_xB0_xE5_xBD_x95.html"><span>更新记录</span></a></li>
      <li><a href="_xE7_x8E_xAF_xE5_xA2_x83_xE9_x85_x8D_xE7_xBD_xAE.html"><span>环境配置</span></a></li>
      <li><a href="_xE7_xBC_x96_xE7_xA8_x8B_xE5_xBC_x95_xE5_xAF_xBC.html"><span>编程引导</span></a></li>
      <li class="current"><a href="modules.html"><span>接口说明</span></a></li>
      <li><a href="annotated.html"><span>结构体定义</span></a></li>
      <li><a href="_xE7_x9B_xB8_xE6_x9C_xBA_xE5_x8F_x82_xE6_x95_xB0_xE8_x8A_x82_xE7_x82_xB9_xE8_xA1_xA8.html"><span>相机参数节点表</span></a></li>
      <li><a href="examples.html"><span>示例程序</span></a></li>
      <li><a href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html"><span>状态码</span></a></li>
      <li><a href="_xE5_xB8_xB8_xE8_xA7_x81_xE9_x97_xAE_xE9_xA2_x98.html"><span>常见问题</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">CameraLink相机</div>  </div>
</div><!--header-->
<div class="contents">

<p>仅Camera Link相机支持的接口  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:gabb43686cd20cbeecbe2e66593e7d85f2"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#gabb43686cd20cbeecbe2e66593e7d85f2">MV_CAML_SetDeviceBaudrate</a> (IN void *handle, IN unsigned int nBaudrate)</td></tr>
<tr class="memdesc:gabb43686cd20cbeecbe2e66593e7d85f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置设备波特率  <a href="#gabb43686cd20cbeecbe2e66593e7d85f2">更多...</a><br /></td></tr>
<tr class="separator:gabb43686cd20cbeecbe2e66593e7d85f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4abbd47649f727ca3f173047b07810c"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#gad4abbd47649f727ca3f173047b07810c">MV_CAML_GetDeviceBaudrate</a> (IN void *handle, IN OUT unsigned int *pnCurrentBaudrate)</td></tr>
<tr class="memdesc:gad4abbd47649f727ca3f173047b07810c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备波特率  <a href="#gad4abbd47649f727ca3f173047b07810c">更多...</a><br /></td></tr>
<tr class="separator:gad4abbd47649f727ca3f173047b07810c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08f667540f465a8c14ff1256321abf7f"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#ga08f667540f465a8c14ff1256321abf7f">MV_CAML_GetSupportBaudrates</a> (IN void *handle, IN OUT unsigned int *pnBaudrateAblity)</td></tr>
<tr class="memdesc:ga08f667540f465a8c14ff1256321abf7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备与主机间连接支持的波特率  <a href="#ga08f667540f465a8c14ff1256321abf7f">更多...</a><br /></td></tr>
<tr class="separator:ga08f667540f465a8c14ff1256321abf7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac13d6c50645ddde9ea8a7c5b5beb451d"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#gac13d6c50645ddde9ea8a7c5b5beb451d">MV_CAML_SetGenCPTimeOut</a> (IN void *handle, IN unsigned int nMillisec)</td></tr>
<tr class="memdesc:gac13d6c50645ddde9ea8a7c5b5beb451d"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置串口操作等待时长  <a href="#gac13d6c50645ddde9ea8a7c5b5beb451d">更多...</a><br /></td></tr>
<tr class="separator:gac13d6c50645ddde9ea8a7c5b5beb451d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee4cc1b56f15cdd391f92f8540697dbd"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#gaee4cc1b56f15cdd391f92f8540697dbd">MV_CAML_GetSerialPortList</a> (IN OUT <a class="el" href="struct_m_v___c_a_m_l___s_e_r_i_a_l___p_o_r_t___l_i_s_t.html">MV_CAML_SERIAL_PORT_LIST</a> *pstSerialPortList)</td></tr>
<tr class="memdesc:gaee4cc1b56f15cdd391f92f8540697dbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取串口信息列表  <a href="#gaee4cc1b56f15cdd391f92f8540697dbd">更多...</a><br /></td></tr>
<tr class="separator:gaee4cc1b56f15cdd391f92f8540697dbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaafd9b2441010f88cbb56f6d724667e37"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___camera_link_xE7_x9B_xB8_xE6_x9C_xBA.html#gaafd9b2441010f88cbb56f6d724667e37">MV_CAML_SetEnumSerialPorts</a> (IN <a class="el" href="struct_m_v___c_a_m_l___s_e_r_i_a_l___p_o_r_t___l_i_s_t.html">MV_CAML_SERIAL_PORT_LIST</a> *pstSerialPortList)</td></tr>
<tr class="memdesc:gaafd9b2441010f88cbb56f6d724667e37"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置指定枚举串口列表  <a href="#gaafd9b2441010f88cbb56f6d724667e37">更多...</a><br /></td></tr>
<tr class="separator:gaafd9b2441010f88cbb56f6d724667e37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>仅Camera Link相机支持的接口 </p>
<h2 class="groupheader">函数说明</h2>
<a id="gabb43686cd20cbeecbe2e66593e7d85f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb43686cd20cbeecbe2e66593e7d85f2">&#9670;&nbsp;</a></span>MV_CAML_SetDeviceBaudrate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_SetDeviceBaudrate </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nBaudrate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置设备波特率 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nBaudrate</td><td>[IN] 设置的波特率值，数值参考CameraParams.h中宏定义 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口支持在设备未连接时调用。通过GenTL协议访问设备时，需要先连接设备，才能调用该接口。<br />
 因硬件/系统/外部干扰等因素，配置高波特率可能导致通信异常，建议配置波特率最大小于115200。 </dd></dl>

</div>
</div>
<a id="gad4abbd47649f727ca3f173047b07810c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad4abbd47649f727ca3f173047b07810c">&#9670;&nbsp;</a></span>MV_CAML_GetDeviceBaudrate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_GetDeviceBaudrate </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnCurrentBaudrate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备波特率 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnCurrentBaudrate</td><td>[IN][OUT] 波特率信息指针，数值参考CameraParams.h中宏定义 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口支持在设备未连接时调用。 </dd></dl>

</div>
</div>
<a id="ga08f667540f465a8c14ff1256321abf7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08f667540f465a8c14ff1256321abf7f">&#9670;&nbsp;</a></span>MV_CAML_GetSupportBaudrates()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_GetSupportBaudrates </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnBaudrateAblity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备与主机间连接支持的波特率 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnBaudrateAblity</td><td>[IN][OUT] 支持的波特率信息的指针。所支持波特率的或运算结果，单个数值参考CameraParams.h中宏定义 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口支持在设备未连接时调用。 </dd></dl>

</div>
</div>
<a id="gac13d6c50645ddde9ea8a7c5b5beb451d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac13d6c50645ddde9ea8a7c5b5beb451d">&#9670;&nbsp;</a></span>MV_CAML_SetGenCPTimeOut()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_SetGenCPTimeOut </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置串口操作等待时长 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nMillisec</td><td>[IN] 串口操作的等待时长，单位为ms </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>

</div>
</div>
<a id="gaee4cc1b56f15cdd391f92f8540697dbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee4cc1b56f15cdd391f92f8540697dbd">&#9670;&nbsp;</a></span>MV_CAML_GetSerialPortList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_GetSerialPortList </td>
          <td>(</td>
          <td class="paramtype">IN OUT <a class="el" href="struct_m_v___c_a_m_l___s_e_r_i_a_l___p_o_r_t___l_i_s_t.html">MV_CAML_SERIAL_PORT_LIST</a> *&#160;</td>
          <td class="paramname"><em>pstSerialPortList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取串口信息列表 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstSerialPortList</td><td>[IN][OUT] 串口信息列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a>；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取本地的串口信息。 </dd></dl>

</div>
</div>
<a id="gaafd9b2441010f88cbb56f6d724667e37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaafd9b2441010f88cbb56f6d724667e37">&#9670;&nbsp;</a></span>MV_CAML_SetEnumSerialPorts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CAML_SetEnumSerialPorts </td>
          <td>(</td>
          <td class="paramtype">IN <a class="el" href="struct_m_v___c_a_m_l___s_e_r_i_a_l___p_o_r_t___l_i_s_t.html">MV_CAML_SERIAL_PORT_LIST</a> *&#160;</td>
          <td class="paramname"><em>pstSerialPortList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置指定枚举串口列表 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstSerialPortList</td><td>[IN] 串口信息列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a>；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于设置枚举Camera Link设备的指定串口。 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<div class="footer" style="text-align: right;">
	<hr/>
	<small></small>
</div>
<script>
	// 当前选中的菜单
	var currentMenuItem = document.querySelector('.tablist > li.current > a')
	if (currentMenuItem) { // 子菜单情况
	  window.parent.postMessage({
		navHref: currentMenuItem.href
	  }, '*')
	} else {
	  window.parent.postMessage({
		url: window.location.href
	  }, '*')
	}
  </script>
</body>
</html>